Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Practitioner2to3.html |
Url | http://hl7.org/fhir/StructureMap/Practitioner2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Practitioner2to3 |
Title | Practitioner Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | PractitionerTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Practitioner2to3' /// name = 'Practitioner2to3' /// title = 'Practitioner Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/Practitioner" alias PractitionerR2 as source uses "http://hl7.org/fhir/3.0/Practitioner" alias Practitioner as target imports "http://hl7.org/fhir/StructureMap/*2to3" group Practitioner(source src : PractitionerR2, target tgt : Practitioner) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "Practitioner-identifier"; src.active -> tgt.active "Practitioner-active"; src.name -> tgt.name "Practitioner-name"; src.telecom -> tgt.telecom "Practitioner-telecom"; src.address -> tgt.address "Practitioner-address"; src.gender -> tgt.gender "Practitioner-gender"; src.birthDate -> tgt.birthDate "Practitioner-birthDate"; src.photo -> tgt.photo "Practitioner-photo"; src.practitionerRole as vs0 -> create('PractitionerRole') as vt0 then prcRole(src, tgt, vs0, vt0) "Practitioner-role"; src.qualification as vs0 -> tgt.qualification as vt0 then prcQualification(vs0, vt0) "Practitioner-qualification"; src.communication -> tgt.communication "Practitioner-communication"; } group prcRole(source pr, target prtgt, source src, target tgt) extends BackboneElement { src -> tgt.practitioner = create('Reference') as p, p.reference = ('Practitioner/' + pr.id) "role-id"; src.managingOrganization -> tgt.organization "role-organization"; src.role -> tgt.code "role-code"; src.specialty -> tgt.specialty "role-specialty"; src.period -> tgt.period "role-period"; src.location -> tgt.location "role-location"; src.healthcareService -> tgt.healthcareService "role-healthcareService"; } group prcQualification(source src, target tgt) extends BackboneElement { src.identifier -> tgt.identifier "qualification-identifier"; src.code -> tgt.code "qualification-code"; src.period -> tgt.period "qualification-period"; src.issuer -> tgt.issuer "qualification-issuer"; }
{
"resourceType" : "StructureMap",
"id" : "Practitioner2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Practitioner2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Practitioner2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Practitioner Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Practitioner<span style=\"color: navy\">" </span><b>alias </b>PractitionerR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Practitioner<span style=\"color: navy\">" </span><b>alias </b>Practitioner <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Practitioner<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>PractitionerR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Practitioner<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"Practitioner-identifier"</i><span style=\"color: navy\">;</span>\r\n src.active<span style=\"color: navy\"><b> -> </b></span>tgt.active <i>"Practitioner-active"</i><span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name <i>"Practitioner-name"</i><span style=\"color: navy\">;</span>\r\n src.telecom<span style=\"color: navy\"><b> -> </b></span>tgt.telecom <i>"Practitioner-telecom"</i><span style=\"color: navy\">;</span>\r\n src.address<span style=\"color: navy\"><b> -> </b></span>tgt.address <i>"Practitioner-address"</i><span style=\"color: navy\">;</span>\r\n src.gender<span style=\"color: navy\"><b> -> </b></span>tgt.gender <i>"Practitioner-gender"</i><span style=\"color: navy\">;</span>\r\n src.birthDate<span style=\"color: navy\"><b> -> </b></span>tgt.birthDate <i>"Practitioner-birthDate"</i><span style=\"color: navy\">;</span>\r\n src.photo<span style=\"color: navy\"><b> -> </b></span>tgt.photo <i>"Practitioner-photo"</i><span style=\"color: navy\">;</span>\r\n src.practitionerRole<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'PractitionerRole'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>prcRole<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"Practitioner-role"</i><span style=\"color: navy\">;</span>\r\n src.qualification<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.qualification<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>prcQualification<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"Practitioner-qualification"</i><span style=\"color: navy\">;</span>\r\n src.communication<span style=\"color: navy\"><b> -> </b></span>tgt.communication <i>"Practitioner-communication"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>prcRole<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">pr</span>, <b>target</b> <span style=\"color: maroon\">prtgt</span>, <b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span> tgt.practitioner = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Reference'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">p</span><span style=\"color: navy\">, </span> p.reference = <span style=\"color: navy\">(</span>'Practitioner/' + pr.id<span style=\"color: navy\">)</span> <i>"role-id"</i><span style=\"color: navy\">;</span>\r\n src.managingOrganization<span style=\"color: navy\"><b> -> </b></span>tgt.organization <i>"role-organization"</i><span style=\"color: navy\">;</span>\r\n src.role<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"role-code"</i><span style=\"color: navy\">;</span>\r\n src.specialty<span style=\"color: navy\"><b> -> </b></span>tgt.specialty <i>"role-specialty"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"role-period"</i><span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -> </b></span>tgt.location <i>"role-location"</i><span style=\"color: navy\">;</span>\r\n src.healthcareService<span style=\"color: navy\"><b> -> </b></span>tgt.healthcareService <i>"role-healthcareService"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>prcQualification<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"qualification-identifier"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"qualification-code"</i><span style=\"color: navy\">;</span>\r\n src.period<span style=\"color: navy\"><b> -> </b></span>tgt.period <i>"qualification-period"</i><span style=\"color: navy\">;</span>\r\n src.issuer<span style=\"color: navy\"><b> -> </b></span>tgt.issuer <i>"qualification-issuer"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Practitioner2to3",
"version" : "0.1.0",
"name" : "Practitioner2to3",
"title" : "Practitioner Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "PractitionerTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/Practitioner",
"mode" : "source",
"alias" : "PractitionerR2"
},
{
"url" : "http://hl7.org/fhir/3.0/Practitioner",
"mode" : "target",
"alias" : "Practitioner"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "Practitioner",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "PractitionerR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "Practitioner",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Practitioner-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-active",
"source" : [
{
"context" : "src",
"element" : "active",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "active",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-telecom",
"source" : [
{
"context" : "src",
"element" : "telecom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "telecom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-address",
"source" : [
{
"context" : "src",
"element" : "address",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "address",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-gender",
"source" : [
{
"context" : "src",
"element" : "gender",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "gender",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-birthDate",
"source" : [
{
"context" : "src",
"element" : "birthDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "birthDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-photo",
"source" : [
{
"context" : "src",
"element" : "photo",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "photo",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Practitioner-role",
"source" : [
{
"context" : "src",
"element" : "practitionerRole",
"variable" : "vs0"
}
],
"target" : [
{
"variable" : "vt0",
"transform" : "create",
"parameter" : [
{
"valueString" : "PractitionerRole"
}
]
}
],
"dependent" : [
{
"name" : "prcRole",
"parameter" : [
{
"valueId" : "src"
},
{
"valueId" : "tgt"
},
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "Practitioner-qualification",
"source" : [
{
"context" : "src",
"element" : "qualification",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "qualification",
"variable" : "vt0"
}
],
"dependent" : [
{
"name" : "prcQualification",
"parameter" : [
{
"valueId" : "vs0"
},
{
"valueId" : "vt0"
}
]
}
]
},
{
"name" : "Practitioner-communication",
"source" : [
{
"context" : "src",
"element" : "communication",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "communication",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "prcRole",
"extends" : "BackboneElement",
"input" : [
{
"name" : "pr",
"mode" : "source"
},
{
"name" : "prtgt",
"mode" : "target"
},
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "role-id",
"source" : [
{
"context" : "src"
}
],
"target" : [
{
"context" : "tgt",
"element" : "practitioner",
"variable" : "p",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
},
{
"context" : "p",
"element" : "reference",
"transform" : "evaluate",
"parameter" : [
{
"valueString" : "'Practitioner/' + pr.id"
}
]
}
]
},
{
"name" : "role-organization",
"source" : [
{
"context" : "src",
"element" : "managingOrganization",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "organization",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role-code",
"source" : [
{
"context" : "src",
"element" : "role",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role-specialty",
"source" : [
{
"context" : "src",
"element" : "specialty",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "specialty",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role-period",
"source" : [
{
"context" : "src",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role-location",
"source" : [
{
"context" : "src",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role-healthcareService",
"source" : [
{
"context" : "src",
"element" : "healthcareService",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "healthcareService",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "prcQualification",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "qualification-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "qualification-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "qualification-period",
"source" : [
{
"context" : "src",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "qualification-issuer",
"source" : [
{
"context" : "src",
"element" : "issuer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issuer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.